package com.fangyi.yunmusic.pojo;

import javax.persistence.*;

@Table(name = "user_follow")
public class UserFollow {
    @Id
    private String id;

    /**
     * 执行关注操作的用户id
     */
    @Column(name = "follow_id")
    private String followId;

    /**
     * 被关注的用户id
     */
    @Column(name = "followed_id")
    private String followedId;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取执行关注操作的用户id
     *
     * @return follow_id - 执行关注操作的用户id
     */
    public String getFollowId() {
        return followId;
    }

    /**
     * 设置执行关注操作的用户id
     *
     * @param followId 执行关注操作的用户id
     */
    public void setFollowId(String followId) {
        this.followId = followId;
    }

    /**
     * 获取被关注的用户id
     *
     * @return followed_id - 被关注的用户id
     */
    public String getFollowedId() {
        return followedId;
    }

    /**
     * 设置被关注的用户id
     *
     * @param followedId 被关注的用户id
     */
    public void setFollowedId(String followedId) {
        this.followedId = followedId;
    }
}